package com.gitee.fmadmin.controller.order.param;

import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.gitee.fastmybatis.core.query.Operator;
import com.gitee.fastmybatis.core.query.annotation.Condition;
import com.gitee.fastmybatis.core.query.param.PageParam;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 查询表单
 *
 * @author thc
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class OrderInfoSearchParam extends PageParam {
    private static final long serialVersionUID = 1L;

    /**
     * 订单号
     */
    @Condition(operator = Operator.like)
    private String orderNo;

    /**
     * 订单金额
     */
    @Condition
    private BigDecimal price;

    /**
     * 备注
     */
    @Condition(operator = Operator.like)
    private String remark;

    /**
     * 添加时间
     */
    @Condition
    private LocalDateTime addTime;

    /**
     * 修改时间
     */
    @Condition
    private LocalDateTime updateTime;

    /**
     * 创建人id
     */
    @Condition
    private Long addBy;

    /**
     * 最后更新人id
     */
    @Condition
    private Long updateBy;


}
